{if $listings}
	{foreach from=$listings item=listing name=listings_block}
		<div class="featuredListings">
			<a href="{$GLOBALS.site_url}/display-job/{$listing.id}/{$listing.Title|regex_replace:"/[\\/\\\:*?\"<>|%#$\s]/":"-"}.html">
			{$listing.Title}</a>
			{if $smarty.now|date_format:"%Y-%m-%d" == $listing.activation_date|date_format:"%Y-%m-%d"}
			<i style="color: orangered;font-size: 12px;vertical-align: top;font-weight: bold;">New</i>
			{/if}
			
			<span class="green" style="display:none;">
				{* Check for JobG8 listing property *}{if $listing.company_name}{$listing.company_name}{else}{$listing.user.CompanyName}{/if}
			</span>		
		</div>
		{if $smarty.foreach.listings_block.iteration is div by $number_of_cols}{/if}
	{/foreach}
{else}
	<center>[[There are no listings with requested parameters in the system.]]</center>
{/if}